package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 teacher_info
 *
 * @author ltr
 * @date 2024-10-21
 */
public class TeacherInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师信息ID */
    private Long teacherId;

    /** 关联用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 工号 */
    @Excel(name = "工号")
    private String teacherNo;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 研究方向 */
    @Excel(name = "研究方向")
    private String researchDirection;

    /** 最大可指导学生数 */
    @Excel(name = "最大指导学生数")
    private Integer maxStudents;

    /** 当前指导学生数 */
    @Excel(name = "当前指导学生数")
    private Integer currentStudents;

    /** 联系邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 办公室位置 */
    @Excel(name = "办公室位置")
    private String officeLocation;

    /** 个人简介 */
    private String introduction;

    /** 关联的用户名（不存数据库，用于显示） */
    private String userName;

    /** 关联的用户昵称（不存数据库，用于显示） */
    private String nickName;

    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setTeacherNo(String teacherNo)
    {
        this.teacherNo = teacherNo;
    }

    public String getTeacherNo()
    {
        return teacherNo;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }

    public void setResearchDirection(String researchDirection)
    {
        this.researchDirection = researchDirection;
    }

    public String getResearchDirection()
    {
        return researchDirection;
    }

    public void setMaxStudents(Integer maxStudents)
    {
        this.maxStudents = maxStudents;
    }

    public Integer getMaxStudents()
    {
        return maxStudents;
    }

    public void setCurrentStudents(Integer currentStudents)
    {
        this.currentStudents = currentStudents;
    }

    public Integer getCurrentStudents()
    {
        return currentStudents;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }

    public void setOfficeLocation(String officeLocation)
    {
        this.officeLocation = officeLocation;
    }

    public String getOfficeLocation()
    {
        return officeLocation;
    }

    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("teacherId", getTeacherId())
                .append("userId", getUserId())
                .append("teacherNo", getTeacherNo())
                .append("title", getTitle())
                .append("researchDirection", getResearchDirection())
                .append("maxStudents", getMaxStudents())
                .append("currentStudents", getCurrentStudents())
                .append("email", getEmail())
                .append("officeLocation", getOfficeLocation())
                .append("introduction", getIntroduction())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}